package model;

import java.sql.Date;
import java.util.List;


public static class Memento{
	
	private final List<Coach>			coaches;
	private final List<Device>			devices;
	private final List<Member>			members;
	private final List<Room>			rooms;
	private final List<Subscription>	subs;
	private final List<Transaction>		trans;
	private final Date					date;
	
	
	public Memento( List<Coach> coaches, List<Device> devices, List<Member> members, List<Room> rooms, List<Subscription> subscriptions,
			List<Transaction> transactions ) {
		this.coaches = coaches;
		this.devices = devices;
		this.members = members;
		this.rooms = rooms;
		this.subs = subscriptions;
		this.trans = transactions;
		date = new Date( System.currentTimeMillis() );
	}
	
	
	public Date getDate() {
		return date;
	}
	
	
	public List<Coach> getCoaches() {
		return coaches;
	}
	
	
	public List<Device> getDevices() {
		return devices;
	}
	
	
	public List<Member> getMembers() {
		return members;
	}
	
	
	public List<Room> getRooms() {
		return rooms;
	}
	
	
	public List<Subscription> getSubs() {
		return subs;
	}
	
	
	public List<Transaction> getTrans() {
		return trans;
	}
	
}